home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Embeded parts show up in my alternate presentation
- Sent: 7/9/96 7:42 AM
- Received: 7/9/96 9:22 AM
- From: Neal Williams, neal@corda.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >>My Graph part has two presentations, a graph presentation, and a
- >>spreadsheet presentation which I only show in a seperate window. When
- >I
- >>embed a part in my graph presentation it also shows up in my
- >spreadsheet
- >>presentation.
- >>
- >>Is this a bug? How do I prevent this from happening?
- >>
- >>-Neal
- >>
- >>
- >
- >This is a problem in ODF 1 which was not supporting changing
- >presentation
- >correctly. I am currently fixing that for ODF 2. As far as preventing
- >this from happening it depends on how you changed the presentation of
- >your seperate window.
- >
-
- Here is what I do:
-
- MyAlternatePresentation()->OpenPartWindow(ev, Frame, kODNULL);
-
- And then in MyMainFrame::NewPartWindow I do this:
-
- return new FW_CWindow(ev,
- fCGraphPart,
- GetODFrame(ev),
- FALSE,
- FW_CPart::gViewAsFrameToken,
- fCGraphPart->GetAlternatePresentation(),
- windowName,
- Extent,
- TopLeft,
- FW_kDocumentWindow);
-
-